/**
 * @filename:ClassInteractionCustomerAnswerService ClassInteractionCustomerAnswer
 * @project constract  V1.0
 * Copyright(c) 2018 lin keqing Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.service;

import java.util.List;

import com.znufe.exam.domain.ClassInteractionCustomerAnswer;
import com.znufe.exam.viewmodel.admin.classinteraction.ClassInteractionQASituationRequestVM;
import com.znufe.exam.viewmodel.admin.classinteraction.ClassInteractionQASituationResponseVM;

/**
 *  
 * @Description:  课堂互动答题详情信息——SERVICE
 * @Author:       lin keqing   
 * @CreateDate:   ClassInteractionCustomerAnswer
 * @Version:      V1.0
 *    
 */
public interface ClassInteractionCustomerAnswerService extends BaseService<ClassInteractionCustomerAnswer> {
	
	/**
	 * @explain 查询课堂互动答题详情信息对象
	 * @param   id
	 * @return  ClassInteractionCustomerAnswer
	 * @author  lin keqing
	 */
	ClassInteractionCustomerAnswer selectByPrimaryKey(Integer id);
	
	/**
	 * @explain 删除课堂互动答题详情信息对象
	 * @param   id
	 * @return  int
	 * @author  lin keqing
	 */
	int deleteByPrimaryKey(Integer id);
	
	/**
	 * @explain 添加课堂互动答题详情信息对象
	 * @param   classInteractionCustomerAnswer
	 * @return  int
	 * @author  lin keqing
	 */
	int insertSelective(ClassInteractionCustomerAnswer classInteractionCustomerAnswer);
	
	/**
	 * @explain 修改课堂互动答题详情信息对象
	 * @param   classInteractionCustomerAnswer
	 * @return  int
	 * @author  lin keqing
	 */
	int updateByPrimaryKeySelective(ClassInteractionCustomerAnswer classInteractionCustomerAnswer);
	
	/**
	 * @explain 查询课堂互动答题详情信息集合
	 * @param   classInteractionCustomerAnswer
	 * @return  List<ClassInteractionCustomerAnswer>
	 * @author  lin keqing
	 */
	List<ClassInteractionCustomerAnswer> queryClassInteractionCustomerAnswerList(ClassInteractionCustomerAnswer classInteractionCustomerAnswer);

	/**
	 * selectClassInteractionQASituation
	 *
	 * @explain 查询课堂互动中某道题的答题情况
	 * @return: List<ClassInteractionQASituationResponseVM>
	 * @param: [requestVM]
	 * @Author: lin keqing
	 */
	List<ClassInteractionQASituationResponseVM> selectClassInteractionQASituation(ClassInteractionQASituationRequestVM requestVM);

}